Cloudinary\Media D

Total Complexity 393
Dependencies 14
Dependents 22
Total lines 3,198
Lines of code 1,616
Logical lines of code 906
Comment lines 1,227
Methods 93
Properties 15

Methods 93

Method Rating Maintainability Complexity Lines of code
image_srcset()
B
39 18 65
get_public_id_from_url()
A
43 16 43
get_process_logs()
A
42 14 52
prepare_size()
A
48 13 33
down_sync_asset()
A
40 11 63
media_column_value()
A
45 12 41
get_size_from_url()
A
48 12 30
get_crop_transformations()
A
46 11 37
cloudinary_url()
A
43 9 49
filter_downsize()
A
49 10 31
get_crop()
A
48 9 34
get_transformations_from_string()
A
52 9 23
attachment_url()
A
54 9 20
apply_default_transformations()
A
46 7 41
get_breakpoint_options()
A
48 7 32
get_asset_payload()
A
44 6 47
apply_media_library_filters()
S
50 7 29
get_crop_from_transformation()
S
51 7 29
get_cloudinary_id()
S
53 6 22
cloudinary_id()
S
54 6 22
get_transformations()
S
56 6 18
default_image_transformations()
S
58 6 14
get_upload_options()
S
51 5 25
get_attachment_file_size()
S
56 5 19
create_attachment()
S
48 4 32
is_oversize_media()
S
56 5 17
get_public_id()
S
57 5 16
is_cloudinary_sync_folder()
S
57 5 15
raw_cloudinary_url()
S
50 4 30
get_context_options()
S
52 4 24
settings()
S
49 3 35
get_id_from_url()
S
55 4 19
is_file_compatible()
S
55 4 18
editor_assets()
S
48 3 32
get_resource_type()
S
59 4 16
setup()
S
48 3 30
get_post_meta()
S
62 5 10
manage_sizes()
S
62 4 12
calculate_image_srcset_meta()
S
61 4 12
is_local_media()
S
61 4 12
get_id_from_sync_key()
S
54 3 21
default_max_width()
S
56 3 19
maybe_file_exist_in_url()
S
58 3 16
get_cloudinary_folder()
S
64 4 10
sanitize_breakpoints()
S
63 4 10
filter_media_library()
S
60 3 13
convert_media_extension()
S
60 3 13
maybe_srcset_post_thumbnail()
S
63 3 11
can_upload_from_host()
S
63 3 11
set_transformation()
S
65 3 9
get_transformation()
S
67 3 8
balance_crop()
S
63 3 10
sanitize_cloudinary_folder()
S
68 3 7
is_cloudinary_url()
S
65 3 8
maybe_overwrite_featured_image()
S
67 3 7
update_post_meta()
S
63 3 10
upgrade_settings()
S
61 2 12
media_column()
S
61 2 11
get_convertible_extensions()
S
54 1 23
get_linked_attachments()
S
57 1 17
delete_post_meta()
S
68 2 7
is_folder_synced()
S
66 2 8
get_cloudinary_version()
S
73 2 4
upgrade_media_settings()
S
67 2 8
can_filter_out_local()
S
68 2 7
pdf_resource_type()
S
71 2 6
build_cached_meta()
S
68 2 7
set_doing_featured()
S
74 2 5
has_public_id()
S
71 2 5
uncropped_url()
S
62 2 10
extract_transformations_from_string()
S
68 2 7
is_media()
S
64 2 9
convert_url()
S
68 2 7
is_uploadable_media()
S
65 2 9
local_url()
S
64 2 10
get_media_delivery()
S
68 2 7
default_image_freeform_transformations()
S
68 2 7
original_attachment_url()
S
71 2 6
get_compatible_media_types()
S
61 1 14
__construct()
S
62 1 11
apply_srcset()
S
67 1 7
get_max_width()
S
80 1 3
get_media_type()
S
80 1 3
get_file_type()
S
69 1 6
is_preview_only()
S
65 1 9
has_delivery_type()
S
77 1 3
get_cache_key()
S
75 1 4
upload_dir()
S
76 1 4
add_live_url_filters()
S
63 1 9
media_template()
S
79 1 7
get_syncable_delivery_types()
S
71 1 6
is_enabled()
S
80 1 3
get_transformation_from_meta()
S
80 1 3